package chat.ui;

public class GroupTreeNode {
	
	private String name;
	private String flagIcon;
	private String status;
	
	public GroupTreeNode(String name, String flagIcon){
		
		this.name = name;
		this.flagIcon = flagIcon;
		this.status = "online";
		
	}

	public String getName() {
		
		return this.name;
	}
	
	public String getFlagIcon() {
		
		return this.flagIcon;
	}
	
    public void setFlagIcon(String flagIcon) {
		
		this.flagIcon = flagIcon;
	}

	
	@Override
	public String toString(){
		return this.name; 
	}
	
	public String getStatus(){
		return this.status;
	}
	
	
}
